<?php

declare(strict_types=1);

namespace app\chat\model;

use sheep\model\Common;
use app\chat\model\traits\ChatCommon;

class ServiceLog extends Common
{
    use ChatCommon;

    protected $name = 'chat_service_log';

    protected $append = [
        'room_name'
    ];

    public function chatUser() 
    {
        return $this->belongsTo(User::class, 'chat_user_id');
    }
}
